#ifndef WLIST_H
#define WLIST_H

#include <QWidget>
#include "../../core/collection.h"
#include "table/walbum.h"
#include "table/wtrack.h"
#include "table/wartist.h"
#include "table/wtable.h"

#include "wnavigate.h"

class WLibrary : public QWidget
{
    Q_OBJECT
public:
    explicit WLibrary(Collection * col, QWidget *parent = 0);
private:
    Collection *collection;
    WTable *wTable;
    WNavigate *navigate;
signals:
    
public slots:
//    void switchAlbumToTrack(QList<DtTrack *> *lTrack);
//    void switchArtistToAlbums(QList<DtAlbum *> &lAlbum,
//                              const QModelIndex &index);
    void addCollectionReady();
    void navAlbum(QList<AbstractData *>& lAlbum);
    void navigation(WTable *wPrev);
    void navTrack(QList<AbstractData *> &lTrack);
//    void navAlbum(DtAlbum *);
//    void navArtist(DtArtist *);
//    void navGenre(DtGenre *);
//    void navTrack(DtTrack *);
//    void navLibrary();

};

#endif // WLIST_H
